$v) { $tmp3 = explode('=',$v); $_GET[$tmp3[0]] = $tmp3[1]; } } return $tmp[0]; } } // URL ARRAY $requestUriTmp = parse_requestUri(); //$requestUri = str_replace("/","",$requestUriTmp); $requestUri = substr($requestUriTmp,(strlen($dirbase)),strlen($requestUriTmp)); // Coming Soon Redirect /* if($requestUri=='coming_soon') { header("Location: coming_soon.php"); } */ $sql = "SELECT * FROM pet_pagine WHERE url LIKE '".mysql_parse($requestUri)."'"; $res = $db->fetchAssoc($sql); if(count($res)>0 && $requestUri!='') { $id_page = $res[0]['id']; $custom_js_code = $res[0]['custom_js_code']; } else { header("Location: index.php"); } // Init include("includes/header.php"); ?>
fetchAssoc($sql); $page = $res[0]; ?>
*/ ?>
*/ ?>